import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';

import { BaseComponent } from './pages/base/base.component';
import { NgrxComponent } from './pages/ngrx/ngrx.component';
const routes: Routes = [
  {
    path: 'base',
    component: BaseComponent,
  },
  {
    path: 'ngrx',
    component: NgrxComponent,
  },
];
@NgModule({
  imports: [RouterModule.forRoot(routes, { useHash: true })],
  exports: [RouterModule],
})
export class AppRoutingModule {}
